package com.example.rental.mapper;
import com.example.rental.entity.Houseinfo;
import com.example.rental.entity.Oder;
import com.example.rental.entity.dto.HouseDto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface HouseMapper {
     public List<Integer> searchHouseByHouseid(Integer houseid);
     public List<Houseinfo> list(HouseDto houseDto);
     public void addHouse(Houseinfo house);
     public void updateHouse(Houseinfo house);
     public void deleteHouseid(Houseinfo house);
     public void updateHouseByHouseid(Integer houseid);
     public void updateAllHouse(Oder oder);
}
